module.exports = app => {
  const { controller, middleware, router } = app;

  router.get('获取价格列表', '/product/price/list', middleware.jwt(), controller.price.list);
  router.post('新增价格', '/product/price/insert', middleware.jwt(), controller.price.insert);
  router.post('更新价格', '/product/price/update', middleware.jwt(), controller.price.update);
  router.post('删除价格', '/product/price/delete', middleware.jwt(), controller.price.delete);

};
